Progress Bar Script
October 8, 2009 · 59 views · 0 comments
Nearby In Time
Top Scripts and Multi Gadget
October 8, 2009
Avoid Methods
October 8, 2009
MystiTool Performance
October 8, 2009
Radar Radar from Radar
October 8, 2009
Progress Bar Script
October 8, 2009
LSL, A language without string replacement
October 8, 2009
Snapzilla Fans Get Together
October 9, 2009
Imagine One Outer Land Peace Tower
October 9, 2009
Step Up and Stand Up
October 9, 2009
About
This little script shows a progress bar as floating text. Sending Inventory [||||||||||....................] 33% showProgress(float value, float maximum, string status) { float percent = 0; if(maximum != 0) percent = value / maximum; integer barCount = 50; integer bars = llFloor(percent * barCount); llSetText( status + "n[" + llGetSubString("||||||||||||||||||||||||||||||||||||||||||||||||||..................................................", barCount - bars, -1 - bars) + "] " + (string)llFloor(percent * 100) + "%" , , 1); } From Dedric Mauriac via bloghud.com